package com.zsule.service;

import java.util.List;

import org.springframework.data.mongodb.core.query.Query;

import com.zsule.entity.PageEntity;
import com.zsule.entity.ShopAndGoods;
import com.zsule.frameworks.mongodb.service.IMongoService;


public interface IShopGoodsService extends IMongoService<ShopAndGoods>{
	public void insertShopAndGoods(ShopAndGoods sad);
	public List<ShopAndGoods> getShopperGoods(String userId,ShopAndGoods sGoods,PageEntity page);
	public long getShopperGoodsCount(Query query);
	public void changeOutPrice(ShopAndGoods sad);
	public void batchInSale(String[] ids);
	public void batchOutSale(String[] ids);
	public List<ShopAndGoods> getGoodsByIds(String[] ids);
}
